package com.lframework.xingyun.basedata.vo.shop;

import com.lframework.starter.web.core.vo.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class SaveShopProductVo implements BaseVo, Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门店ID", required = true)
    @NotBlank(message = "请输入门店ID！")
    private String shopId;
    /**
     * 是否添加所有商品
     */
    @ApiModelProperty(value = "是否添加所有商品", required = true)
    @NotNull(message = "请选择是否添加所有商品！")
    private Boolean productAll;

    @ApiModelProperty(value = "商品ID列表")
    private String productIds;
}
